<?php
/* SVN FILE: $Id: app_controller.php 25 2008-08-29 21:58:28Z namaless $ */
/**
 * Displatcher.
 *
 * @author			Pereira Pulido Nuno Ricardo | Namaless | namaless@gmail.com
 * @copyright		Copyright 1981-2008, Namaless.
 * @link			http://www.namaless.com Namaless Blog
 * @version			1.0
 * @version			$Revision: 25 $
 * @modifiedby		$LastChangedBy: namaless $
 * @lastmodified	$Date: 2008-08-29 23:58:28 +0200 (ven, 29 ago 2008) $
 * @license			http://www.opensource.org/licenses/gpl-license.php GNU Public License
 */

 /**
 * Automazione delle paths del framework.
 */
define ( '__DS__', DIRECTORY_SEPARATOR );
define ( '__BASE_PATH__', dirname(__FILE__) . __DS__);


// Include il core.
include_once ( './evo-php/bootstrap.php' );

// Includo le funzioni dell'applicazione.
include_once ( './functions.php' );

// Attivo il Database con l'auto-connect.
Database::factory();

// Attivo la sessione.
Session::factory();